home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Medal Software 5
/
Gold Medal Software - Volume 5 (Gold Medal) (1995).iso
/
accounts
/
morcomp.arj
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1993-09-25
|
7KB
|
144 lines
echo off
if "%1"=="" goto nodir
if not exist %1\nul md %1
if not exist %1\nul goto dir_error
cls
echo.
echo. ███████████████████████████████████████████████████████████████░
echo. █ █░░
echo. █ Mortgage Comp requires that the CONFIG.SYS file have █░░
echo. █ a files statement like "FILES=31". 31 Is the minimum █░░
echo. █ number. If you are using windows or a newtork, it █░░
echo. █ should be much larger, say 91. Be sure it is an odd █░░
echo. █ number. You may use the DOS EDIT program to modify █░░
echo. █ this file. See your DOS manual for more details. █░░
echo. █ █░░
echo. █ █░░
echo. ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
echo.
pause
if not exist %1\nul md %1
if not exist %1\nul goto dir_error
cls
echo -
echo - ┌─────────────────────────────────────────────────────────────┐
echo - │ │
echo - │ │
echo - │ Copying the MORTGAGE COMPARISON SYSTEM │
echo - │ │
echo - │ │
echo - └─────────────────────────────────────────────────────────────┘
echo -
PKUNZIP MORTCOMP %1
cls
echo -
echo -
echo - ┌─────────────────────────────────────────────────────────────┐
echo - │ │
echo - │ │
echo - │ Verifying the files! │
echo - │ │
echo - │ │
echo - └─────────────────────────────────────────────────────────────┘
echo -
echo -
if not exist %1\MCHELP.DBF goto fail1
if not exist %1\MCHELP.DBT goto fail1
if not exist %1\MCMENU.EXE goto fail1
if not exist %1\MCPARM.DBF goto fail1
if not exist %1\MCPARM.FD goto fail1
if not exist %1\SCHEDULE.BLK goto fail1
pause
cls
echo -
echo -
echo - ┌────────────────────────────────────────────────────────────────────────┐
echo - │ │
echo - │ The MORTGAGE COMPARISON SYSTEM is now installed ... │
echo - │ │
echo - │ To Start the program, log on to the hard disk subdirectory │
echo - │ you specified ant type the command: │
echo - │ │
echo - │ MCMENU (enter) │
echo - │ │
echo - │ │
echo - └────────────────────────────────────────────────────────────────────────┘
echo -
echo - (Your directory was %1 )
goto end
:dir_error
echo -
echo -
echo - ┌────────────────────────────────────────────────────────────────────────┐
echo - │ │
echo - │ The installation process failed! │
echo - │ │
echo - │ The installation program cannot find or create the directory │
echo - │ specified on the command line. The directory does not need to │
echo - │ exist before running the program but the name of the directory │
echo - │ MUST be a valid DOS pathname and the Drive letter MUST be a │
echo - │ valid disk drive on your system. DO NOT INCLUDE THE FINAL "\" │
echo - │ │
echo - │ If you are installing the system on a network drive, you must │
echo - │ have the necessary rights and permissions for the network. │
echo - │ │
echo - │ │
echo - └────────────────────────────────────────────────────────────────────────┘
echo -
echo -
echo Unable to find or create - %1
echo -
echo -
pause
:fail1
cls
echo -
echo -
echo -
echo - ┌────────────────────────────────────────────────────────────────────────┐
echo - │ │
echo - │ The installation process failed! │
echo - │ │
echo - │ │
echo - └────────────────────────────────────────────────────────────────────────┘
echo -
pause
goto end
:nodir
cls
echo.
echo. ██████████████████ GENERIC INSTALL INSTRUCTIONS ███████████████░
echo. █ █░░
echo. █ This is the generic install program. It requires █░░
echo. █ the name of the disk and directory on the command █░░
echo. █ line like this: █░░
echo. █ █░░
echo. █ At the A: prompt, type: █░░
echo. █ █░░
echo. █ INSTALL D:\LOANS █░░
echo. █ █░░
echo. █ Where D: is the drive letter and \LOANS is the name █░░
echo. █ of the directory in which you want the system installed. █░░
echo. █ If you are familiar with path names, do not type the █░░
echo. █ final backslash "\". █░░
echo. █ █░░
echo. █ The drive and directory can be any valid DOS drive █░░
echo. █ and path on your system. If the path does not exist █░░
echo. █ it will be created. NOTE THAT THERE ARE NO SPACES █░░
echo. █ between the drive letter and the path. █░░
echo. █ █░░
echo. ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
echo.
pause
CLS
echo -
echo - ┌────────────────────────────────────────────────────────────────────────┐
echo - │ │
echo - │ Please try again... │
echo - │ │
echo - │ INSTALL D:\PATHNAME │
echo - └────────────────────────────────────────────────────────────────────────┘
echo -
:end